/*
 * COMP6791 Project
 *  
 * This file is created by Yuan Tao (ewan.msn@gmail.com)
 * Licensed under GNU GPL v3
 * 
 * $Author: ewan.msn@gmail.com $
 * $Date: 2012-10-22 02:28:23 +0000 (Mon, 22 Oct 2012) $
 * $Rev: 171 $
 * $HeadURL: http://all-projects-concordia.googlecode.com/svn/comp6791/Project1/src/parser/InvertedIndex.java $
 * 
 */

package parser;

public class InvertedIndex {
	public static final int POSTINGSLIST_INIT_SIZE = 30; 
	public static final int SIZE_OF_POINTER = 4;	// to calculate the memsize
	public static final int SIZE_OF_LONG = 4;		// to calculate the memsize
	
	//public byte[] term;	// the pointer of the term is stored in the hashmap key
							// e.g. HashMap<byte[], Index>
	
	public int docFreq;  	// the actual length of postings 
	
	public long[] postings = new long[POSTINGSLIST_INIT_SIZE];
}
